package com.sc.VenusQueryBeta.contract.detail;

import com.sc.VenusQueryBeta.presenter.detail.BaseWebViewLoadPresenter;

import io.reactivex.Observable;

/**
 * Created by Administrator on 26/9/2018.
 * 詳細咨詢詳情頁接口
 */

public interface ZhiXunDetailContract {
    abstract class ZhiXunDetailPresenter extends BaseWebViewLoadPresenter<IZiXunDetailModel, IZiXunDetailDetailView> {
        /**
         * 加载日报详情
         */
        public abstract void loadDailyDetail(String id);
    }

    interface IZiXunDetailModel extends BaseWebViewLoadContract.IBaseWebViewLoadModel {
        /**
         * 获取日报详情
         *
         * @param id 日报id
         * @return Observable
         */
        Observable<Object> getDailyDetail(String id);

        Object getlist();
    }

    interface IZiXunDetailDetailView extends BaseWebViewLoadContract.IBaseWebViewLoadView {
            /**
             * 显示日报详细内容
             *
             * @param bean ZhihuDailyDetailBean
             */
        void showDailyDetail(Object bean);
    }
}
